<?php

declare(strict_types=1);

namespace Modules\School\Models;

use Catch\Base\CatchModel as Model;

/**
 * @property $id
 * @property $name
 * @property $status
 * @property $expiration_time
 * @property $creator_id
 * @property $created_at
 * @property $updated_at
 * @property $deleted_at
 * @property $create_time
 * @property $update_time
 */
class School extends Model
{


    protected $table = 'admin_school';

    protected $fillable = ['id', 'name', 'status', 'expiration_time', 'creator_id', 'created_at', 'updated_at', 'deleted_at', 'create_time', 'update_time'];

    /**
     * @var array
     */
    protected array $fields = ['id', 'name', 'status', 'expiration_time', 'created_at', 'updated_at'];

    /**
     * @var array
     */
    protected array $form = ['name', 'expiration_time'];

    /**
     * @var array
     */
    public array $searchable = [
        'name' => 'like',
        'status' => '=',

    ];


}
